package org.jetlinks.community.mstn.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import org.hswebframework.web.api.crud.entity.GenericEntity;
import org.hswebframework.web.system.authorization.api.entity.DimensionTypeEntity;

import java.util.List;

@Getter
@Setter
public class UserView extends GenericEntity<String> {

    @Schema( description = "姓名")
    private String name;

    @Schema( description = "机构")
    private List<DimensionTypeEntity> orgList;

}
